
export const eventCommonMixins = {
    data() {
        return {
            customerTagArr: []
        }
    },
    mounted() {
        // this.handleTagDisplayRes()
    },

    methods: {
        updateCustomerTagArr(arr) {

            this.customerTagArr = [...arr]
        },
        handleTagDisplayRes() {



            const jsondata = this.jsondata
            const { bqdata, qxdata, xzdata, bqdata_format, qxdata_format, xzdata_format } = jsondata
            const customerTagArr = []


            if (Array.isArray(bqdata) && bqdata.length > 0) {

                customerTagArr.push(bqdata_format)

            }

            if (Array.isArray(qxdata) && qxdata.length > 0) {

                customerTagArr.push(qxdata_format)

            }

            if (Array.isArray(xzdata) && xzdata.length > 0) {

                customerTagArr.push(xzdata_format)

            }

            this.customerTagArr = customerTagArr






        }

    },


}
